package com.qf.mybatisplus.utils;

import org.apache.http.client.methods.HttpEntityEnclosingRequestBase;

import java.net.URI;

/**
 * @author MR.Zhang
 * @Title: HttpGetMk
 * @ProjectName hzmoko
 * @Description: 应用于httpsclientUtil,get请求body主体携带数据
 * @date 2019-10-109:51
 */
public class HttpGetMk extends HttpEntityEnclosingRequestBase {

    private final static String METHOD_NAME = "GET";

    @Override
    public String getMethod() {
        return METHOD_NAME;
    }

    public HttpGetMk() {
        super();
    }

    public HttpGetMk(final URI uri) {
        super();
        setURI(uri);
    }

    HttpGetMk(final String uri) {
        super();
        setURI(URI.create(uri));
    }
}

